﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using model;
using business;

namespace service
{
    public class NhomSanphamTrathatService
    {
        NhomSanphamTrathatBUS spBUS = new NhomSanphamTrathatBUS();

        public List<NhomSanphamTrathat> getListNhomSanphamByID(long id)
        {
            return spBUS.getListNhomSanphamByID(id);
        }

        public List<NhomSanphamTrathat> getListAllNhomsanpham()
        {
            return spBUS.getListAllNhomsanpham();
        }

        public string themmoiNhomSanpham(NhomSanphamTrathat bv)
        {
            return spBUS.themmoiNhomSanpham(bv);
        }

        public string suaNhomSanpham(NhomSanphamTrathat bv)
        {
            return spBUS.suaNhomSanpham(bv);
        }
    }
}
